.scroll-y {
    height: 100vh;
    background-color: #efefef;
}

view {

    height: 400rpx;
    display: flex;
    align-items: center;
    justify-content: center;
}


view:nth-child(odd) {
    background-color: lightskyblue;
}

view:nth-child(even) {
    background-color: rgb(136, 240, 142);
}